home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / da / hyperdic.sit / HyperTalkDictionary.rsrc / TEXT_-15392_HyperTalk Dictionary.txt < prev    next >
Text File  |  1988-04-03  |  29KB  |  1,039 lines

  1. HyperTalk Dictionary may be distributed freely except as part of any
  2. commerical product.  This DA was created with Bill Steinberg's great
  3. DisplayDA.  What a great tool!  The data was drawn from the stack
  4. HyperTalk Index.  Thanks to George John and BBR Unlimited for compiling
  5. and distributing this information.  The number in the parentheses with
  6. each entry is a page number reference to "The Complete HyperCard
  7. Handbook" by Danny Goodman.
  8.  
  9. George Coyne
  10. CIS   - 75776,1463
  11. GEnie - GWCoyne
  12.  
  13. -----------------------------------------------------------------------
  14. abs (number)
  15.   Example: abs -25
  16.            abs
  17.   Use: Returns the absolute value of a number  (548)
  18.  
  19.  
  20. Add <source> to <container>
  21.   Example: add field "item 1" to field "temp"
  22.            add 1 to buffer
  23.   Use: Adds one number (or number in a container) to another already
  24.        in a container.  (441)
  25.  
  26.  
  27. annuity (periodic rate, number of periods)
  28.   Example: annuity (0.12, 24)
  29.   Use: Returns the present value of a single payment unit.  Multiply
  30.        the result by the amount for the annuity value.  (548)
  31.  
  32.  
  33. answer <question> [with <reply> [or <reply>[or <reply>]]]
  34.   Example: answer "Delete Page" "OK" "Cancel"
  35.            answer "Add Page" with "OK" or "Cancel" 
  36.   Use: Prompts the user with a dialog box.  Places result in "it"  (463)
  37.  
  38.  
  39. ask <question> [with <reply>]
  40.   Example: ask "Enter number of pages"
  41.            ask "What is the loan rate"  with 12% 
  42.   Use: Prompt the user to type reply in a dialog box.  Places response
  43.        into "it".  (465)
  44.  
  45.  
  46. ask┬ápassword <question> [with <reply>]
  47.   Example: ask "Please enter your password" "OK'  "Cancel"
  48.   Use: User stack access protection.  The user's response is encrypted
  49.        and stored for later verification.   (465)
  50.  
  51.  
  52. atan (angle in radians)
  53.   Example: atan (25)
  54.   Use: Returns the arctangent of an angle  (549)
  55.  
  56.  
  57. autoHilite <true or false>
  58.   Example: set autoHilite of card button 1 to true 
  59.   Use: Sets the hiliting of a check box button.  (510)
  60.  
  61.  
  62. average (number list)
  63.   Example: average (12,32,14,65)
  64.            
  65.            
  66.   Use: Returns the average of a list of comma separated numbers.  (549)
  67.  
  68.  
  69. beep [<number of beeps>]
  70.   Example: beep 5
  71.            beep field "Error"
  72.   Use: Sends audible beep(s) to the user.  (469)
  73.  
  74.  
  75. blindTyping <true or false>
  76.   Example: set the blindTyping to true.
  77.   Use: Allows the operator to type into a hidden message box.  (484)
  78.  
  79.  
  80. brush <brush number 1 to 32>
  81.   Example: set the brush to 12
  82.   Use: Establish the shape of the paintbrush tool (Default is 8).  (494)
  83.  
  84.  
  85. centered <true or false>
  86.   Example: set the centered to true
  87.   Use: Controls the Options menu setting for Draw Centered.  (495)
  88.  
  89.  
  90. choose <tool name> tool
  91.   Example: choose button tool
  92.            choose text tool
  93.            choose browse tool
  94.   Use: Selects a tool in the tool palette.  The word "tool" must follow
  95.        the named selection.  (429)
  96.  
  97.  
  98. click at <location> [with <modifier key>]
  99.   Example: click at 100,200 with OptionKey
  100.            get loc of field 1
  101.            click at it
  102.   Use: Equivalent to clicking at a screen coordinate.  Use with "loc"
  103.        command.  (430)
  104.  
  105.  
  106. close printing
  107.   Example: close printing
  108.   Use: Tells HyperCard that printing is complete.  (439)
  109.  
  110.  
  111. close┬áfile <file name>
  112.   Example: close file "Resume"
  113.            close it
  114.   Use: Closes access to disk file  (475)
  115.  
  116.  
  117. compound (periodic rate, number of periods)
  118.   Example: compound (0.12, 36)
  119.   Use: Returns the future value factor based upon the rate and number
  120.        of periods.  (549)
  121.  
  122.  
  123. convert <container> to <format>
  124.   Example: convert field 1 to seconds
  125.            convert "Date" to short date
  126.            convert it to long time
  127.   Use: Converts date and time to allow manipulation and display  (446)
  128.  
  129.  
  130. cos (angle in radians)
  131.   Example: cos (34)
  132.   Use: Returns the cosine of an angle.  (549)
  133.  
  134.  
  135. cursor <id number or name>
  136.   Example: set the cursor to 4
  137.   Use: Determines which cursor is displayed on the screen.  (ID Numbers
  138.        1 through 4 are valid)  (485)
  139.  
  140.  
  141. delete <components>
  142.   Example: delete  field "Name"
  143.            delete word of field "Name"
  144.            delete line 1 of field 5
  145.   Use: Removes text from a field or container  (420)
  146.  
  147.  
  148. dial <phone number> [with [modem]<modem parameters>]
  149.   Example: dial 555-1212
  150.            dial it
  151.            dial "Number" with modem "ATS7=IDT"
  152.   Use: Sends dial commands to the modem or audio port.  (424)
  153.  
  154.  
  155. divide <container> by <source>
  156.   Example: divide field 1 by 60
  157.            divide it by field "Total"
  158.            divide field 1 by field 2
  159.   Use: Divides a number in a container by another number or container.  (445)
  160.  
  161.  
  162. do <source>
  163.   Example: do field "Command" of card 1
  164.            do it
  165.            do field ID 2707
  166.   Use: Performs the HyperCard command located at the beginning of a
  167.        container.  (428)
  168.  
  169.  
  170. doMenu <menu item>
  171.   Example: doMenu "New Card"
  172.            doMenu "Find..."
  173.            doMenu "First"
  174.   Use: Selects and executes any menu item.  The menu item must be
  175.        entered exactly as it appears in the menu.  (420)
  176.  
  177.  
  178. down 
  179.   Example: if the optionKey is down
  180.   Use: Test the conditions of keyboard keys or the mouse button.  (577)
  181.  
  182.  
  183. drag from <location> to <location> [with<modifier key>]
  184.   Example: drag from 350,125 to 350, 235
  185.            drag from buf1 to buf2 
  186.   Use: Drags the mouse across the screen.  Use "loc" command to
  187.        determine coordinates.  (431)
  188.  
  189.  
  190. dragSpeed <number>
  191.   Example: set dragSpeed to 150
  192.   Use: Controls the speed in pixels per second, at which the drag
  193.        command operates.  (486)
  194.  
  195.  
  196. edit┬áscript of <target>
  197.   Example: edit script of card 5
  198.            edit script of card button "Password"
  199.            edit script of stack "Auto Sign-on"
  200.   Use: Opens the Script Editor window to allow for script
  201.        modification.  (458)
  202.  
  203.  
  204. editBkgnd <true or false>
  205.   Example:  set editBkgnd to true 
  206.   Use: Activates/Deactivates the background for editing.  (487)
  207.  
  208.  
  209. empty 
  210.   Example: put empty into field ID 5
  211.   Use: Null text string.  Use to clear a container.  (579)
  212.  
  213.  
  214. exp (number)
  215.   Example: exp(4)
  216.   Use: Returns the natural base-e exponential.  (549)
  217.  
  218.  
  219. exp1 (number)
  220.   Example: exp1(4)
  221.   Use: Returns the natural exponential minus 1.  (550)
  222.  
  223.  
  224. exp2 (number)
  225.   Example: exp2(4)
  226.   Use: Returns the base-2 exponential.  (550)
  227.  
  228.  
  229. false 
  230.   Use: Sets conditions or tests the results of an operation.  (577)
  231.  
  232.  
  233. filled <true or false>
  234.   Example: set the filled to true
  235.   Use: Controls the Options menu setting for Draw Filled.
  236.          (495)
  237.  
  238.  
  239. find [char[acter]s | word] <source>[in <field>]
  240.   Example: find "98004" in "ZIP" field
  241.            find field 1 in field 2
  242.            find temp1
  243.   Use: Searches the current stack or a specific field in current stack
  244.        for a string (case insensitive).  (409)
  245.  
  246.  
  247. formfeed 
  248.   Example: write formfeed to file "Misc. Text"
  249.   Use: Control character for printers.  Used in printing text files
  250.        created with the write command.  (580)
  251.  
  252.  
  253. get┬á(1) <property> [of <target>]
  254.   Example: get location of button "Name"
  255.            get textFont of field 1
  256.            get name of button 3
  257.   Use: Retrieves object properties and places them in "it".  You must
  258.        specify the type of object (e.g. card, button,etc.).  (454)
  259.  
  260.  
  261. get┬á(2) <expression>
  262.   Example: get field 5 
  263.            get the short date
  264.            get item 1 of field "Criteria"
  265.   Use: Places the the contents of an expression in the local variable
  266.        "it".  (419)
  267.  
  268.  
  269. global <variable list>
  270.   Example: global Temp1
  271.            global Buf1,Buf2,Buf3
  272.            global ZipCode
  273.   Use: Initializes a variable that will retain information after a
  274.        message handler ends.  (457)
  275.  
  276.  
  277. go [to] <destination>
  278.   Example: go to card ID 3452
  279.            go back
  280.            go to second card of "To Do" 
  281.   Use: Navigation command that takes you from one card or stack to
  282.        another.  (407)
  283.  
  284.  
  285. grid <true or false>
  286.   Example: set the grid to true
  287.   Use: Activates/Deactivates the screen drawing grid.  (496)
  288.  
  289.  
  290. help 
  291.   Example: help
  292.   Use: Takes the user to the help file.   Used in conjunction with a
  293.        trap for custom help files.  (413)
  294.  
  295.  
  296. hide menubar | <window> | <field or button>
  297.   Example: hide menubar
  298.            hide tool window
  299.            hide backgroung button 3
  300.   Use: Hide objects from view.  The complement of the show command.
  301.        (449)
  302.  
  303.  
  304. hilite <true or false>
  305.   Example: set hilite of bkgnd button 1 to true
  306.   Use: Set the hiliting of a button when clicked.  (510)
  307.  
  308.  
  309. icon <icon number or name>
  310.   Example: set icon of button "?" to 23142
  311.   Use: Controls the icon art that is assigned to a button when
  312.        accompanied by a valid icon name or number.  (511)
  313.  
  314.  
  315. if <true/false> then <command>
  316. if <true/false> then <command> else  <command>
  317.   Example: if field 1 is empty then
  318.            if field 1 is 2 then go next else go home
  319.   Use: Test for conditions.  (586)
  320.  
  321.  
  322. language <language name>
  323.   Example: set the language to French
  324.   Use: Controls the language editor in use to translate the English
  325.        scripts to a different language.  (487)
  326.  
  327.  
  328. linefeed 
  329.   Example: write linefeed to file "Misc. Text"
  330.   Use: Control character for printers.  Used in printing text files
  331.        created with the write command.  (580)
  332.  
  333.  
  334. lineSize <1,2,3,4,6, or 8 pixels>
  335.   Example: set lineSize to 6 
  336.   Use: Determines the thickness of lines painted by various tools.  
  337.        (Default is 10.)  (497)
  338.  
  339.  
  340. ln (number)
  341.   Example: ln(4)
  342.   Use: Returns the natural base-e logarithm.  (550)
  343.  
  344.  
  345. ln1 (number)
  346.   Example: ln1(4)
  347.   Use: Returns the natural log of 1 plus the number  (550)
  348.  
  349.  
  350. loc[ation] <left>, <top>
  351.   Example: set location of tool window to 45,125
  352.            set loc of pattern window to 150,200
  353.   Use: Defines the display position of the top left corner of a window  (492)
  354.  
  355.  
  356. loc[ation] <center h>, <center v>
  357.   Example: set loc of field 3 to 100,200
  358.            get location of field 8
  359.   Use: Sets or gets the center point of a field.  (503)
  360.  
  361.  
  362. loc[ation] <center h>, <center v>
  363.   Example: set loc of card button 1 to 50,100
  364.   Use: Controls the centerpoint of a button on the screen.  (512)
  365.  
  366.  
  367. lockScreen <true or false>
  368.   Example: set lockScreen to true
  369.   Use: Controls the screen updating during script execution.  May help
  370.        speed the execution of long scripts.  (488)
  371.  
  372.  
  373. lockText <true or false>
  374.   Example: set lockText of card field 2 to true
  375.   Use: Controls the ability to modify field text.  (504)
  376.  
  377.  
  378. max (number list)
  379.   Example: max 24,35,36,12)
  380.   Use: Returns the highest value number in the list.  (550)
  381.  
  382.  
  383. min (number list)
  384.   Example: min(14,24,46,23)
  385.   Use: Returns the lowest value number in the list.  (550)
  386.  
  387.  
  388. multiple <true or false>
  389.   Example: set multiple to true
  390.   Use: Controls the Draw Multiple menu option.  Adjust image with
  391.        multiSpace command.  (497)
  392.  
  393.  
  394. multiply <container> by <source>
  395.   Example: multiply field 1 by field 2
  396.            multiply field "hours" by 5.5
  397.            multiply field ID 3423 by field "Total"
  398.   Use: Multiplies one value in a container by a second value.  (444)
  399.  
  400.  
  401. multiSpace <1 to 9>
  402.   Example: set the multiSpace to 8
  403.   Use: Determines the number of pixels between multiple images.
  404.        Use in conjunction with multiple command.  (497)
  405.  
  406.  
  407. name <card name or ID number>
  408.   Example: get the name of this card 
  409.            set the name of this stack to "Test"
  410.            get the short name of this stack
  411.   Use: Sets the name of an object.  (501)
  412.  
  413.  
  414. name <button name or ID number>
  415.   Example: set name of card field 1 to "Test" 
  416.   Use: Defines the name of field.  (504)
  417.  
  418.  
  419. name <button name or ID number>
  420.   Example: set name of button ID 2341 to "Help"
  421.   Use: Controls the name of a button.  (513)
  422.  
  423.  
  424. numberFormat <format string>
  425.   Example: set the number format to "00.000"
  426.   Use: Controls the display format of a math result.  (Default is 6
  427.        decimal places.)  (489)
  428.  
  429.  
  430. offset (<expression>,<expression>)
  431.   Example: offset ("Mr.", field 5)
  432.            put offset (field 1, field 2) into it
  433.   Use: Compare any piece of text with an entire container.  It returns
  434.        the starting number of the text match.  (538)
  435.  
  436.  
  437. open [<document> with] <application>
  438.   Example: open "Resume" with "MacWrite"
  439.            open field 2 with "MoreΓäó"
  440.            open "hard disk:applications:MacWrite"
  441.   Use: Opens another application or document.  Suspends HyperCard and
  442.        returns upon close of application.  (436)
  443.  
  444.  
  445. open┬áfile <file name>
  446.   Example: open file "Resume"
  447.            open file "Hard Disk:Stuff:Resume"
  448.            open file it
  449.   Use: Establishes pathway for importing and exporting data.  (475)
  450.  
  451.  
  452. open┬áprinting [with dialog]
  453.   Example: open printing
  454.            open printing with dialog
  455.   Use: Readies the HyperCard printing system and can return the print
  456.        dialog box.  (439)
  457.  
  458.  
  459. pattern <pattern number 1 to 40>
  460.   Example: set pattern to 13
  461.   Use: Sets the current pattern.  Numbered top to bottom, left to
  462.        right.  (498)
  463.  
  464.  
  465. play <voice> [tempo <speed>] [<notes>][#|b] [octave] [duration]
  466.   Example: play "harpsichord" tempo 120 "ce e g"
  467.            Play "boing"
  468.   Use: Plays digitized sounds (installed as resources) with a variety
  469.        of tempos, pitches, and lengths  (470)
  470.  
  471.  
  472. polySides <number of polygon sides greater than 2>
  473.   Example: set polySides to 5
  474.   Use: Sets the number of sides drawn by the polygon tool.  (499)
  475.  
  476.  
  477. pop card [into <container>]
  478.   Example: pop card
  479.            pop card into "Temp1" 
  480.   Use: Displays pushed card from anywhere within HyperCard.
  481.        If optional parameter is used, card ID is stored in container.
  482.        (411)
  483.  
  484.  
  485. powerKeys <true or False>
  486.   Example:  set powerKeys to true
  487.   Use: Controls Power Key settings (used when painting).  (490)
  488.  
  489.  
  490. print┬á(1) [all | <number> cards] | [this <card>]
  491.   Example: print 8 cards
  492.            go to stack "help"
  493.            print card ID 1234
  494.   Use: Queue up multiple cards (from multiple stacks) and print as if
  495.        it were one stack.  (439)
  496.  
  497.  
  498. print┬á(2) <file name> with <application>
  499.   Example: print "resume" with MacWrite
  500.            print "budget" with Multiplan
  501.   Use: Prints a file generated by another application.  Document and
  502.        application pathways must be specified in the home card.  (480)
  503.  
  504.  
  505. push [this | recent] card
  506.   Example: push card
  507.            push recent card
  508.            push card 42 of "Profile"
  509.   Use: Marks a card for instant retrieval with the pop command.  (411)
  510.  
  511.  
  512. put <source> [into | after | before <container>]
  513.   Example: put 25 into field ID 1242
  514.            put it after word 1 of field "Greeting"
  515.            put field 1 into temp1
  516.   Use: Places information into container or from one container to
  517.        another.  (415)
  518.  
  519.  
  520. quote 
  521.   Example: put & quote & "Hello" & quote & into  field ID 23
  522.   Use: Places quote marks around text in a field  (579)
  523.  
  524.  
  525. read from file <file name> until <delimiter char> | for <number of ┬¼
  526. bytes>
  527.   Example: read from "resume" until return
  528.            read from "profile" for 55 
  529.   Use: Imports data from another file into fields in the card.  Use
  530.        open file command to establish pathway.  (476)
  531.  
  532.  
  533. rect[angle] <left>,<top>, <right>, <bottom>
  534.   Example: get rectangle of tool window
  535.            get rect of pattern window
  536.   Use: Reveals  the top left, and bottom right coordinates of a
  537.        window.  Not valid with the set command (use loc).  (493)
  538.  
  539.  
  540. rect[angle] <left>, <top>, <right>, <bottom>
  541.   Example: set rect of field 2 to 25,75, 100,200
  542.            get rectangle of card field ID 3425
  543.   Use: Controls the size and location of a field.  (505)
  544.  
  545.  
  546. rect[angle] <left>, <top>, <right>, <bottom>
  547.   Example: rect of button ID 324 75,75,125,185
  548.   Use: Controls the size and location of a button.  (514)
  549.  
  550.  
  551. repeat┬áfor <number of times> [times]
  552.   Example: repeat for 10 times
  553.   Use: Allows multiple execution of a command or routine between
  554.        repeat and end repeat commands.  (590)
  555.  
  556.  
  557. repeat┬áuntil <true/false> 
  558.   Example: repeat until the mouseClick
  559.   Use: Allows multiple execution of a command or routine between
  560.        repeat and end repeat commands.  (591)
  561.  
  562.  
  563. repeat┬áwith <variable> = <low no.> to <high no.> 
  564.   Example: repeat with x=1 to number of fields
  565.   Use: Allows multiple execution of a command or routine between
  566.        repeat and end repeat commands.  (593)
  567.  
  568.  
  569. return 
  570.   Example: on tab
  571.            put return after word 1 of field 2
  572.   Use: Place in fields or test for conditions.  (580)
  573.  
  574.  
  575. round (numbers)
  576.   Example: round(1.667)
  577.   Use: Returns the nearest whole number.  (551)
  578.  
  579.  
  580. script <script>
  581.   Example: get the script for this card
  582.            Set the script of card to it
  583.   Use: Controls the script from within a script.  Used for
  584.        self-modifing code.  Modify from variable with put command.
  585.        (502)
  586.  
  587.  
  588. script <script>
  589.   Example: get script from card field 1
  590.            set the script of card field 1 to temp
  591.   Use: Controls a script from within a script.  Self-modifing code.
  592.        (506)
  593.  
  594.  
  595. script <script>
  596.   Example: get script of button ID 2342
  597.            set script of button "Test" to it
  598.   Use: Modify the script of a button within a button.  (514)
  599.  
  600.  
  601. scroll <pixels from top of text>
  602.   Example: set scroll of field 3 to 25
  603.   Use: Automatically advance a scrolling field to display other than
  604.        at its top.  (507)
  605.  
  606.  
  607. send <message> to <target>
  608.   Example: send mouseUp to bkgnd button ID 1112
  609.            sent doMenu Quit to HyperCard
  610.            send mouseUp to button "New Card"
  611.   Use: Sends a message directly to an object within HyperCard.  (427)
  612.  
  613.  
  614. set <property> [of <target>] to <new setting>
  615.   Example: set hilite of button ID 1232
  616.            set set location of "New Field" to it
  617.            set name of "New Button" to "More"
  618.             
  619.   Use: Assigns new properties to object.   (454)
  620.  
  621.  
  622. show┬á(1) [<number> | all] cards
  623.   Example: show all cards
  624.            show 10 cards
  625.   Use: Displays a set number of cards in the current stack following
  626.        the current card.  (451)
  627.  
  628.  
  629. show┬á(2) menubar | <windows> | <field or button>[at <location>]
  630.   Example: show menubar
  631.            show button "more"
  632.            show msg at 250,350
  633.   Use: Makes visible all hidden objects.  (451)
  634.  
  635.  
  636. showLines <true or false>
  637.   Example: set the showLine of field 3 to true
  638.   Use: Controls the display lines of a field.  (504)
  639.  
  640.  
  641. showName <true or false>
  642.   Example: set showName of button ID 343 to true
  643.   Use: Controls the display or non-display of a buttons name.   (510)
  644.  
  645.  
  646. sin (angle in radians)
  647.   Example: sin(75)
  648.   Use: Returns the sin of an angle  (551)
  649.  
  650.  
  651. sort [ascending | descending] [text | numeric | international | ┬¼
  652. datetime] by <container>
  653.   Example: sort by field 1
  654.            sort descendind by "Zip Code"
  655.            sort by second word of field ID 2341
  656.   Use: Sorts cards in a stack (ascending is the default order) by a
  657.        specific container.  (434)
  658.  
  659.  
  660. space 
  661.   Example: put space after word 1 of field 1
  662.   Use: Place in fields.  (580)
  663.  
  664.  
  665. sqrt (number)
  666.   Example: sqrt(64)
  667.   Use: Returns the square root of a number.  (551)
  668.  
  669.  
  670. style <transparent | opaque | rectangle |shadow | scrolling>
  671.   Example:  set style of field ID 234 to shadow 
  672.   Use: Sets the text style of a field.   (507)
  673.  
  674.  
  675. style <transparent | opaque | rectangle | shadow | roundRect | ┬¼
  676. checkBox | radioButton>
  677.   Example: set style of button ID 2342 to opaque
  678.            set style of button ID 123 to shadow
  679.   Use: Controls the style of button displayed.  (515)
  680.  
  681.  
  682. subtract <source> from <container>
  683.   Example: subtract 1 from buf1
  684.            subtract "Temp" from "Total"
  685.            subtract field 1+50 from field 2
  686.   Use: Subtracts one number from another or another container.  (442)
  687.  
  688.  
  689. tab 
  690.   Example: on tab
  691.            type tab
  692.            put tab before word 3 of field ID 452
  693.   Use: Test for condition or insert into fields.  (580)
  694.  
  695.  
  696. tan (angle in radians)
  697.   Example: tan(33)
  698.   Use: Returns the tangent of an angle.  (551)
  699.  
  700.  
  701. textAlign <left |right | center>
  702.   Example: set textAlign to right
  703.   Use: Controls the positioning of text while in the paint mode.  (499)
  704.  
  705.  
  706. textAlign <left | right | center>
  707.   Example: set textAlign of field ID 3425 to center
  708.   Use: Controls the text positioning within a field.  (508)
  709.  
  710.  
  711. textAlign <left | right | center>
  712.   Example: set textAlign of button id 23 to right
  713.   Use: Controls the font attributes of a buttons name when displayed. 
  714.        (Cannot be altered by Dialog Box.)  (516)
  715.  
  716.  
  717. textFont <font name>
  718.   Example: set textFont to Athens
  719.   Use: Controls the font selection while in the paint mode.  (499)
  720.  
  721.  
  722. textFont <font name>
  723.   Example: set font of field "Date" to 18
  724.   Use: Controls the font type within a field.  (508)
  725.  
  726.  
  727. textFont <font name>
  728.   Example: set textFont of button "Help" to Athens
  729.   Use: Controls the font attributes of a buttons name when displayed. 
  730.        (Cannot be altered by Dialog Box.)  (516)
  731.  
  732.  
  733. textHeight <leading>
  734.   Example: set textHeight to 20
  735.   Use: Controls the line height while in the paint mode.  (499)
  736.  
  737.  
  738. textHeight <leading>
  739.   Example: set textHeight of field 12 to 20
  740.   Use: Controls the line height within a field.  Should be at least 2
  741.        greater than textSize.  (508)
  742.  
  743.  
  744. textHeight <leading>
  745.   Example: set textHeight of bkgnd button 5 to 14
  746.   Use: Controls the font attributes of a buttons name when displayed. 
  747.        (Cannot be altered by Dialog Box.)  (516)
  748.  
  749.  
  750. textSize <font size>
  751.   Example: set textSize to 18
  752.   Use: Controls the font size while in the paint mode.  (499)
  753.  
  754.  
  755. textSize <font size>
  756.   Example: set textSize of field 12 to 18
  757.   Use: Controls the text height within a field.    (508)
  758.  
  759.  
  760. textSize <font size>
  761.   Example: set textSize of button ID 45 to 18
  762.   Use: Controls the font attributes of a buttons name when displayed. 
  763.        (Cannot be altered by Dialog Box.)  (516)
  764.  
  765.  
  766. textStyle <bold | italic | underline | outline |shadow| condense | ┬¼
  767. extend | plain>
  768.   Example: set the textStyle to bold, italic, extend
  769.   Use: Controls the font attributes while in the paint mode.  Separate
  770.        multiple parameters with commas.  (499)
  771.  
  772.  
  773. textStyle <bold | italic | underline | outline |shadow | condense | ┬¼
  774. extend | plain>
  775.   Example: set text Style of field 2 to bold, italic
  776.   Use: Sets the text display parameters within a field.  Separate
  777.        multiple parameters with commas.  (508)
  778.  
  779.  
  780. textStyle <bold | italic | underline | outline |shadow | condense | ┬¼
  781. extend | plain>
  782.   Example: set textStyle of button ID 8 bold, italic
  783.   Use: Controls the font attributes of a buttons name when displayed. 
  784.        (Cannot be altered by Dialog Box.)  (516)
  785.  
  786.  
  787. the┬áabbreviated or abbrev | abbr date
  788.   Example: put the abbrev into field "Date"
  789.   Use: Returns the abbreviated form of the date (Mon, Jul 7, 1987). 
  790.        Use with the put command.  (523)
  791.  
  792.  
  793. the┬ácharToNum of <character>
  794.   Example: the charToNum "A"
  795.            put the charToNum of "a" into it
  796.   Use: Converts the character to its ASCII numeric value.  The
  797.        complement of the numToChar command.  (541)
  798.  
  799.  
  800. the┬áclickloc 
  801.   Example: show item 3 at the clickLoc
  802.   Use: The screen coordinates of the last mouse click.  For use with
  803.        long message handlers.  (535)
  804.  
  805.  
  806. the┬ácommandKey 
  807.   Example: if the commandKey is down then
  808.   Use: Modifies the execution of a script if true or false.  (531)
  809.  
  810.  
  811. the┬ádate 
  812.   Example: put the date into it
  813.   Use: Returns the date in 12/12/87 format.  (523)
  814.  
  815.  
  816. the┬álength of <container>
  817.   Example: get the length of background field 2
  818.   Use: Returns the number of text characters in a container.  (537)
  819.  
  820.  
  821. the┬álong┬ádate 
  822.   Example: put the long date into "Date" field
  823.   Use: Returns the dat in the Thursday, October 12, 1987 format.  (423)
  824.  
  825.  
  826. the┬álong┬átime 
  827.   Example: put the long time into "Begin" field
  828.   Use: Returns the time in the 10:15:12 p.m. format.  (524)
  829.  
  830.  
  831. the┬ámouse [is up | is down]
  832.   Example: repeat while the mouse is down
  833.                     play "notes"
  834.            end repeat
  835.   Use: Allows user to perform functions with the mouse in either the
  836.        up or down position.  (534)
  837.  
  838.  
  839. the┬ámouseClick 
  840.   Example: if the mouseClick true then
  841.                  beep
  842.            end if
  843.   Use: Sends a true condition upon depressing the mouse  (534)
  844.  
  845.  
  846. the┬ámouseH 
  847.   Example: if the mouseH >120 then put "ΓêÜ" into  field 5
  848.   Use: Allows you to obtain the horizontal coordinates of the mouse.
  849.        (529)
  850.  
  851.  
  852. the┬ámouseLoc 
  853.   Example: on mouseUp
  854.                put the mouseLoc into buf1
  855.                show message at buf1
  856.   Use: Returns the horizontal and vertical coordinates of the mouse
  857.        cursor.  (529)
  858.  
  859.  
  860. the┬ámouseV 
  861.   Example: if the mouseV >120 then put "ΓêÜ" into  field 5
  862.   Use: Returns the vertical coordinates of the mouse cursor.  (529)
  863.  
  864.  
  865. the┬ánumber┬á[of] <components> in <containers>
  866.   Example: if the number of lines in field 1
  867.            put the number of words of field 1  into field 5
  868.   Use: returns the number of components in a container.  (540)
  869.  
  870.  
  871. the┬ánumber┬áof cards | buttons | fields
  872.   Example: put the number of cards in it
  873.            if the number of bkgnd fields is < 6
  874.            if the number of card buttons = 3
  875.   Use: Returns the quantity of designated items.  (553)
  876.  
  877.  
  878. the┬ánumToChar of <ASCII value>
  879.   Example: the numToChar "25"
  880.            put the numToChar of "24" into it
  881.   Use: Converts the ASCII value to its appropriate character.  The
  882.        complement of the charToNum command.  (541)
  883.  
  884.  
  885. the┬áoptionKey 
  886.   Example: if the option key is down
  887.   Use: Modifies the execution of a script if true or false.  (531)
  888.  
  889.  
  890. the┬áparam of <parameter number>
  891.   Example: send toText 3
  892.            on toText
  893.              put the param of toText into it 
  894.   Use: Used with subroutines to give scripts access to parameters that
  895.        are sent with messages.  (558)
  896.  
  897.  
  898. the┬áparamcount 
  899.   Example: put param count of toText into it
  900.   Use: Used with repeat instruction to give scripts access to the
  901.        number of parameters that are sent with messages.  (558)
  902.  
  903.  
  904. the┬árandom of <upper bound>
  905.   Example: put the random of 999 into it
  906.   Use: Returns a random number between 1 and 32767 (upper limit).  (545)
  907.  
  908.  
  909. the┬áresult 
  910.   Example: if the result is invalid date then doDate
  911.   Use: Create handlers to trap for command failures  (555)
  912.  
  913.  
  914. the┬áseconds 
  915.   Example: put the seconds into it
  916.             subtract "Last Changed" from the secs
  917.   Use: Returns (in the billions) the total number of seconds from
  918.        January 1, 1904 .   (525)
  919.  
  920.  
  921. the┬áshiftKey 
  922.   Example: if the shift key is down
  923.                send upperScript
  924.   Use: Modifies the execution of a script if true or false.  (531)
  925.  
  926.  
  927. the┬ásound 
  928.   Example: repeat while the sound is not done
  929.   Use: Delays the execution of a script until the play command has
  930.        completed its routine.  (556)
  931.  
  932.  
  933. the┬átarget 
  934.   Example:  get short name of the target
  935.   Use: Returns the ID number of the object receiving the last message
  936.        sent up the hierarchy.  (667)
  937.  
  938.  
  939. the┬áticks 
  940.   Example: put the ticks into temp
  941.   Use: Returns the number of 1/60th seconds since power up.  Can be
  942.        used to trap for double click.  (526)
  943.  
  944.  
  945. the┬átime 
  946.   Example: put the time into field 1
  947.   Use: Returns the time in the 10:15 (or 22:15)p.m. format.  (524)
  948.  
  949.  
  950. the┬ávalue of <container or expression>
  951.   Example:  put the value of "Total" in it 
  952.   Use: Returns the value of an arithmetic expression or an expression
  953.        within a container.  (546)
  954.  
  955.  
  956. true 
  957.   Use: Sets conditions or tests the results of an operation.  (577)
  958.  
  959.  
  960. trunc (number)
  961.   Example: trunc(5.345)
  962.   Use: Returns the next lowest whole number.  (551)
  963.  
  964.  
  965. type <source>
  966.   Example: type "One character at a time."
  967.   Use: The equivalent of typing into a field.  Works one character at
  968.        a time.  Also, use to generate graphics text form a script.
  969.        (433)
  970.  
  971.  
  972. up 
  973.   Example: if the optionKey is up
  974.   Use: Test the conditions of keyboard keys or the mouse button.  (577)
  975.  
  976.  
  977. userLevel <1 to 5>
  978.   Example: set userLevel to 2
  979.   Use: Controls the User Lever for a HyperCard session.  (491)
  980.  
  981.  
  982. visible <true or false>
  983.   Example: set the visible of tool window to true
  984.   Use: Establishes the visibility of a window.  (It may be better to
  985.        use the show and hide commands.)  (494)
  986.  
  987.  
  988. visible <true or false>
  989.   Example: set visible of field 3 to false
  990.   Use: Controls the visibility of a field.  The hide and show commands
  991.        may be better options.  (509)
  992.  
  993.  
  994. visible <true or false>
  995.   Example: set visible of button ID 2341 to true
  996.   Use: Set the visibility of a button.  (You may prefer the shorter
  997.        Hide and Show commands.)  (517)
  998.  
  999.  
  1000. visual [effect] <effect name> [<speed>] [to black | white]
  1001.   Example: visual effect wipe up slowly to black
  1002.            visual effect iris open
  1003.            visual effect barn door close
  1004.   Use: Controls HyperCard visual effects when navigating to another
  1005.        card.  (461)
  1006.  
  1007.  
  1008. wait [for] <time quantity> ticks | seconds
  1009.   Example: wait for 30 seconds
  1010.            wait 10 ticks 
  1011.            wait for field "Delay" seconds
  1012.   Use: Delays the execution of an instruction until a set time.  A tick
  1013.        is equal to 1/60th of a second.  (422)
  1014.  
  1015.  
  1016. wait┬áuntil <boolean>
  1017.   Example: wait until the command Key is down
  1018.            wait until mouseClick
  1019.            
  1020.   Use: Waits until certain conditions are met.  (422)
  1021.  
  1022.  
  1023. wait while <boolean>
  1024.   Example: wait while the shiftKey is down
  1025.            wait while the mouse is down
  1026.   Use: Waits until certain conditions are met.  (422)
  1027.  
  1028.  
  1029. wideMargins <true or false>
  1030.   Example: set wideMargins of field 4 to true
  1031.   Use: Sets the margins between text and field walls.  (504)
  1032.  
  1033.  
  1034. write <source> to file <file name>
  1035.   Example: write temp1 to file "Resume"
  1036.            write field ID 3453 to file "Documents"
  1037.   Use: Exports data from HyperCard field to a external text file.  Set
  1038.        the pathway with open file.  (478)
  1039.